package com.qimei.onerice.dao;

import com.qimei.onerice.entity.Order;

import java.util.List;

public interface OrderDao {
	int addOrder(Order order);
	Order getOrderById(int orderId);
	List<Order> getOrdersByCustomerId(int customerId);
	List<Order> getAllOrders();
	int updateOrder(Order order);
	int deleteOrder(int orderId);
	Order getCurrentOrder();
}
